name := "todolistWeb"

version := "1.0"

lazy val `todolistweb` = (project in file(".")).enablePlugins(PlayScala)

scalaVersion := "2.11.8"

//enable Dependency Injection
routesGenerator := InjectedRoutesGenerator

libraryDependencies ++= Seq( jdbc , cache , ws   , specs2 % Test )
unmanagedResourceDirectories in Test <+=  baseDirectory ( _ /"target/web/public/test" )

resolvers += "scalaz-bintray" at "https://dl.bintray.com/scalaz/releases"

//enable evolutions
//libraryDependencies += evolutions

//add squeryl dependencies
/*val h2 = "com.h2database" "% h2" % "1.2.127"
val mysqlDriver = "mysql" % "mysql-connector-java" % "5.1.10"
val derbyDriver = "org.apache.derby" % "derby" % "10.7.1.1"
libraryDependencies  ++=  Seq(
  "org.squeryl" %% "squeryl" % "0.9.5-7",
  h2
)*/

//add play-reactiveMongo plugin
libraryDependencies ++= Seq(
  //"org.reactivemongo" %% "play2-reactivemongo" % "0.11.7.play24",
  "org.reactivemongo" %% "play2-reactivemongo" % "0.11.14",
  "org.specs2" %% "specs2-core" % "3.6.5" % "test",
  "org.specs2" %% "specs2-junit" % "3.6.5" % "test",
  "org.specs2" %% "specs2-mock" % "3.6.5" % "test"
)
JsEngineKeys.engineType := JsEngineKeys.EngineType.Node


